package com.gxa.accommodation.service.impl;

import com.gxa.accommodation.openfeign.AccommodationCommentsServiceFeign;
import com.gxa.accommodation.openfeign.AccommodationOrderServiceFeign;
import com.gxa.accommodation.service.AccommodationOrderService;
import com.gxa.common.base.RespResult;
import com.gxa.common.page.AccommodationQueryPage;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class AccommodationOrderServiceImpl implements AccommodationOrderService {

    @Autowired
    private AccommodationOrderServiceFeign feign;

    @Override
    public RespResult showOrderList(AccommodationQueryPage accommodationQueryPage) {
        return feign.listAccommodationByQueryPage(accommodationQueryPage);
    }
}
